package com.shop2cn.iapi.sqsynctrade.paremeter.mongo.details;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.data.mongodb.core.mapping.Field;

import com.ymttest.database.model.annotation.Column;
import com.ymttest.database.model.annotation.Table;

/**
 * 退款信息
 */
public class Refund {

	/**
	 * rfd 退款单ID
	 */
	@Table("Ymt_RefundBill")
	@Column("RefundBillNo")
	@Field("rfdNo")
	private String refundNo;

	/**
	 * rfd 申请退款金额
	 */
	@Table("Ymt_RefundBill")
	@Column("RefundAmount")
	@Field("rfdAmt")
	private BigDecimal refundAmount;

	/**
	 * rfd 退款现金
	 */
	@Table("Ymt_RefundBill")
	@Column("RefundedAmountOfCash")
	@Field("rfdAmtCsh")
	private BigDecimal refundAmountCash;

	/**
	 * rfd 退款三方折扣
	 */
	@Table("Ymt_RefundBill")
	@Column("RefundedDiscountOfThirdParty")
	@Field("rfd3P")
	private BigDecimal refund3P;

	/**
	 * rfd 退款时间
	 */
	@Table("Ymt_RefundBill")
	@Column("AddTime")
	@Field("rfdTm")
	private Date refundTime;

	/**
	 * rfd 退款状态
	 */
	@Table("Ymt_RefundBill")
	@Column("SalesRefundStatus")
	@Field("rfdSt")
	private Integer refundStatus;

	/**
	 * rfd 退款红包
	 */
	@Table("Ymt_RefundBill")
	@Column("RefundedAmountOfGift")
	@Field("rfdAmtGift")
	@Deprecated
	private BigDecimal refundAmountGift;

	/**
	 * rfd 退款优惠券
	 */
	@Table("Ymt_RefundBill")
	@Column("SettlementAmountOfCoupon")
	@Field("rfdAmtCop")
	private BigDecimal refundAmountCop;

	/**
	 * 退款优惠金额
	 */
	@Field("rfdAmtProm")
	private BigDecimal refundAmountProm;

	/**
	 * rfd 退款运费
	 */
	@Table("Ymt_RefundBill")
	@Column("RefundedAmountOfFreight")
	@Field("rfdAmtFreight")
	private BigDecimal refundAmountFreight;

	/**
	 * 预付卡
	 */
	@Field("rfdAmtPpc")
	private BigDecimal refundAmountPrepaid;

	/**
	 * 账户
	 */
	@Field("rfdAmtAcc")
	private BigDecimal refundAmountAccount;

	/**
	 * 第三方
	 */
	@Field("rfdAmt3P")
	private BigDecimal refundAmountThirdParty;
	
	 /**
     * 返点
     */
    @Field("rfdAmtRb")
    private BigDecimal refundRebateAmount;
    
    /**
     * 神器退款商品金额
     */
    @Field("rfdAmtPrd")
    private BigDecimal refundProductAmount ;

    /**
     * 神器退款税费金额
     */
    @Field("rfdAmtTax")
    private BigDecimal refundTaxAmount ;

    /**
     * 失败code
     */
    @Field("rfdFailC")
    private Integer refundFailCode ;

    /**
     * 失败原因
     */
    @Field("rfdFailRsn")
    private String refundfailReason ;
    
    /**
     * 退款单状态
     */
    @Field("rfdBSt")
    private String refundBillStatus ;
    
    /**
     * 买家鉴别费退款金额
     */
    @Field("rfdUserAuctFee")
    private BigDecimal userAuthenticateFee;
    
    /**
     * 0默认 1鉴别中心退款
     */
    @Field("rfdTp")
    private Integer refundType;

	public String getRefundNo() {
		return refundNo;
	}

	public void setRefundNo(String refundNo) {
		this.refundNo = refundNo;
	}

	public BigDecimal getRefundAmount() {
		return refundAmount;
	}

	public void setRefundAmount(BigDecimal refundAmount) {
		this.refundAmount = refundAmount;
	}

	public BigDecimal getRefundAmountCash() {
		return refundAmountCash;
	}

	public void setRefundAmountCash(BigDecimal refundAmountCash) {
		this.refundAmountCash = refundAmountCash;
	}

	public BigDecimal getRefund3P() {
		return refund3P;
	}

	public void setRefund3P(BigDecimal refund3P) {
		this.refund3P = refund3P;
	}

	public Date getRefundTime() {
		return refundTime;
	}

	public void setRefundTime(Date refundTime) {
		this.refundTime = refundTime;
	}

	public Integer getRefundStatus() {
		return refundStatus;
	}

	public void setRefundStatus(Integer refundStatus) {
		this.refundStatus = refundStatus;
	}

	public BigDecimal getRefundAmountGift() {
		return refundAmountGift;
	}

	public void setRefundAmountGift(BigDecimal refundAmountGift) {
		this.refundAmountGift = refundAmountGift;
	}

	public BigDecimal getRefundAmountCop() {
		return refundAmountCop;
	}

	public void setRefundAmountCop(BigDecimal refundAmountCop) {
		this.refundAmountCop = refundAmountCop;
	}

	public BigDecimal getRefundAmountFreight() {
		return refundAmountFreight;
	}

	public void setRefundAmountFreight(BigDecimal refundAmountFreight) {
		this.refundAmountFreight = refundAmountFreight;
	}

	public BigDecimal getRefundAmountPrepaid() {
		return refundAmountPrepaid;
	}

	public void setRefundAmountPrepaid(BigDecimal refundAmountPrepaid) {
		this.refundAmountPrepaid = refundAmountPrepaid;
	}

	public BigDecimal getRefundAmountAccount() {
		return refundAmountAccount;
	}

	public void setRefundAmountAccount(BigDecimal refundAmountAccount) {
		this.refundAmountAccount = refundAmountAccount;
	}

	public BigDecimal getRefundAmountThirdParty() {
		return refundAmountThirdParty;
	}

	public void setRefundAmountThirdParty(BigDecimal refundAmountThirdParty) {
		this.refundAmountThirdParty = refundAmountThirdParty;
	}

	public BigDecimal getRefundAmountProm() {
		return refundAmountProm;
	}

	public void setRefundAmountProm(BigDecimal refundAmountProm) {
		this.refundAmountProm = refundAmountProm;
	}

	public BigDecimal getRefundRebateAmount() {
		return refundRebateAmount;
	}

	public void setRefundRebateAmount(BigDecimal refundRebateAmount) {
		this.refundRebateAmount = refundRebateAmount;
	}

	public BigDecimal getRefundProductAmount() {
		return refundProductAmount;
	}

	public void setRefundProductAmount(BigDecimal refundProductAmount) {
		this.refundProductAmount = refundProductAmount;
	}

	public BigDecimal getRefundTaxAmount() {
		return refundTaxAmount;
	}

	public void setRefundTaxAmount(BigDecimal refundTaxAmount) {
		this.refundTaxAmount = refundTaxAmount;
	}

	public Integer getRefundFailCode() {
		return refundFailCode;
	}

	public void setRefundFailCode(Integer refundFailCode) {
		this.refundFailCode = refundFailCode;
	}

	public String getRefundfailReason() {
		return refundfailReason;
	}

	public void setRefundfailReason(String refundfailReason) {
		this.refundfailReason = refundfailReason;
	}

	public String getRefundBillStatus() {
		return refundBillStatus;
	}

	public void setRefundBillStatus(String refundBillStatus) {
		this.refundBillStatus = refundBillStatus;
	}

	public BigDecimal getUserAuthenticateFee() {
		return userAuthenticateFee;
	}

	public void setUserAuthenticateFee(BigDecimal userAuthenticateFee) {
		this.userAuthenticateFee = userAuthenticateFee;
	}

	public Integer getRefundType() {
		return refundType;
	}

	public void setRefundType(Integer refundType) {
		this.refundType = refundType;
	}
}
